package com.admin.config;

import com.admin.listener.NacosApplicationListener;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

    @Bean
    public NacosApplicationListener nacosApplicationListener(ApplicationContext context) {
        return new NacosApplicationListener(context);
    }
}

